<!DOCTYPE html>

<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

<title>class CompositeSOA - Rails Application Documentation</title>

<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
</script>

<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>


<body id="top" class="class">
<nav id="metadata">
  <nav id="home-section" class="section">
  <h3 class="section-header">
    <a href="./index.html">Home</a>
    <a href="./table_of_contents.html#classes">Classes</a>
    <a href="./table_of_contents.html#methods">Methods</a>
  </h3>
</nav>


  <nav id="search-section" class="section project-section" class="initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <h3 class="section-header">
      <input type="text" name="search" placeholder="Search" id="search-field"
             title="Type to search, Up and Down to navigate, Enter to load">
    </h3>
  </form>

  <ul id="search-results" class="initially-hidden"></ul>
</nav>


  <div id="file-metadata">
    <nav id="file-list-section" class="section">
  <h3 class="section-header">Defined In</h3>
  <ul>
    <li>app/soa/CompositeSOA.rb
  </ul>
</nav>

    
  </div>

  <div id="class-metadata">
    
    <nav id="parent-class-section" class="section">
  <h3 class="section-header">Parent</h3>
  
  <p class="link"><a href="Xml.html">Xml</a>
  
</nav>

    
    <!-- Method Quickref -->
<nav id="method-list-section" class="section">
  <h3 class="section-header">Methods</h3>

  <ul class="link-list">
    
    <li><a href="#method-i-binding_node">#binding_node</a>
    
    <li><a href="#method-i-binding_type">#binding_type</a>
    
    <li><a href="#method-i-createTag">#createTag</a>
    
    <li><a href="#method-i-implementation_doc">#implementation_doc</a>
    
    <li><a href="#method-i-implementation_node">#implementation_node</a>
    
    <li><a href="#method-i-implementation_type">#implementation_type</a>
    
    <li><a href="#method-i-info">#info</a>
    
    <li><a href="#method-i-locations">#locations</a>
    
    <li><a href="#method-i-push">#push</a>
    
    <li><a href="#method-i-reference_location">#reference_location</a>
    
    <li><a href="#method-i-svn">#svn</a>
    
    <li><a href="#method-i-versionUp">#versionUp</a>
    
    <li><a href="#method-i-wsdlLocation_abstract">#wsdlLocation_abstract</a>
    
  </ul>
</nav>

  </div>

  <div id="project-metadata">
    <nav id="fileindex-section" class="section project-section">
  <h3 class="section-header">Pages</h3>

  <ul>
  
    <li class="file"><a href="./doc/README_FOR_APP.html">README_FOR_APP</a>
  
  </ul>
</nav>

    <nav id="classindex-section" class="section project-section">
  <h3 class="section-header">Class and Module Index</h3>

  <ul class="link-list">
  
    <li><a href="./SOA.html">SOA</a>
  
    <li><a href="./SOA/APP.html">SOA::APP</a>
  
    <li><a href="./Activity.html">Activity</a>
  
    <li><a href="./ApplicationController.html">ApplicationController</a>
  
    <li><a href="./ApplicationHelper.html">ApplicationHelper</a>
  
    <li><a href="./Bpel.html">Bpel</a>
  
    <li><a href="./Bpmn.html">Bpmn</a>
  
    <li><a href="./Component.html">Component</a>
  
    <li><a href="./ComponentsController.html">ComponentsController</a>
  
    <li><a href="./ComponentsHelper.html">ComponentsHelper</a>
  
    <li><a href="./Composite.html">Composite</a>
  
    <li><a href="./CompositeGroup.html">CompositeGroup</a>
  
    <li><a href="./CompositeSOA.html">CompositeSOA</a>
  
    <li><a href="./CompositesController.html">CompositesController</a>
  
    <li><a href="./CompositesHelper.html">CompositesHelper</a>
  
    <li><a href="./HomeController.html">HomeController</a>
  
    <li><a href="./HomeHelper.html">HomeHelper</a>
  
    <li><a href="./Mailsend.html">Mailsend</a>
  
    <li><a href="./Pom.html">Pom</a>
  
    <li><a href="./Reference.html">Reference</a>
  
    <li><a href="./ReferencesController.html">ReferencesController</a>
  
    <li><a href="./ReferencesHelper.html">ReferencesHelper</a>
  
    <li><a href="./Report.html">Report</a>
  
    <li><a href="./ReportsController.html">ReportsController</a>
  
    <li><a href="./ReportsHelper.html">ReportsHelper</a>
  
    <li><a href="./Service.html">Service</a>
  
    <li><a href="./ServicesController.html">ServicesController</a>
  
    <li><a href="./ServicesHelper.html">ServicesHelper</a>
  
    <li><a href="./Svn.html">Svn</a>
  
    <li><a href="./Version.html">Version</a>
  
    <li><a href="./Xml.html">Xml</a>
  
  </ul>
</nav>

  </div>
</nav>

<div id="documentation">
  <h1 class="class">class CompositeSOA</h1>

  <div id="description" class="description">
    
  </div><!-- description -->

  
  
  
  <section id="5Buntitled-5D" class="documentation-section">
    

    

    

    
    <!-- Attributes -->
    <section id="attribute-method-details" class="method-section section">
      <h3 class="section-header">Attributes</h3>

      
      <div id="attribute-i-components" class="method-detail">
        <div class="method-heading attribute-method-heading">
          <span class="method-name">components</span><span
            class="attribute-access-type">[RW]</span>
        </div>

        <div class="method-description">
        
        
        
        </div>
      </div>
      
      <div id="attribute-i-pom" class="method-detail">
        <div class="method-heading attribute-method-heading">
          <span class="method-name">pom</span><span
            class="attribute-access-type">[RW]</span>
        </div>

        <div class="method-description">
        
        
        
        </div>
      </div>
      
      <div id="attribute-i-references" class="method-detail">
        <div class="method-heading attribute-method-heading">
          <span class="method-name">references</span><span
            class="attribute-access-type">[RW]</span>
        </div>

        <div class="method-description">
        
        
        
        </div>
      </div>
      
      <div id="attribute-i-services" class="method-detail">
        <div class="method-heading attribute-method-heading">
          <span class="method-name">services</span><span
            class="attribute-access-type">[RW]</span>
        </div>

        <div class="method-description">
        
        
        
        </div>
      </div>
      
    </section><!-- attribute-method-details -->
    

    <!-- Methods -->
    
     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
      <h3 class="section-header">Public Instance Methods</h3>

    
      <div id="method-i-binding_node" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">binding_node</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="binding_node-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 39</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">binding_node</span>(<span class="ruby-identifier">node</span>)
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">at_xpath</span>(<span class="ruby-node">&quot;#{node.path}//*[starts-with(local-name(),'binding')]&quot;</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- binding_node-source -->
          
        </div>

        

        
      </div><!-- binding_node-method -->

    
      <div id="method-i-binding_type" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">binding_type</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="binding_type-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 35</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">binding_type</span>(<span class="ruby-identifier">node</span>)
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">binding_node</span>(<span class="ruby-identifier">node</span>).<span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'.'</span>)[<span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
          </div><!-- binding_type-source -->
          
        </div>

        

        
      </div><!-- binding_type-method -->

    
      <div id="method-i-createTag" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">createTag</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="createTag-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 117</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">createTag</span>
  <span class="ruby-identifier">svn</span>.<span class="ruby-identifier">newTag</span>(<span class="ruby-identifier">version</span>,<span class="ruby-keyword">nil</span>)
  <span class="ruby-identifier">versionUp</span>
  <span class="ruby-identifier">push</span>
  <span class="ruby-identifier">svn</span>.<span class="ruby-identifier">commit</span>
  <span class="ruby-identifier">info</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- createTag-source -->
          
        </div>

        

        
      </div><!-- createTag-method -->

    
      <div id="method-i-implementation_doc" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">implementation_doc</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="implementation_doc-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 43</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">implementation_doc</span>(<span class="ruby-identifier">node</span>)
  <span class="ruby-identifier">node</span> = <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-node">&quot;//*[local-name()='component'][@name='#{node}']&quot;</span>)[<span class="ruby-value">0</span>] <span class="ruby-keyword">if</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-string">&quot;&quot;</span>.<span class="ruby-identifier">class</span>
  <span class="ruby-identifier">type</span> = <span class="ruby-identifier">implementation_type</span>(<span class="ruby-identifier">node</span>)
  <span class="ruby-identifier">src</span> = <span class="ruby-ivar">@path</span>.<span class="ruby-identifier">slice</span>(<span class="ruby-value">0</span>,<span class="ruby-ivar">@path</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-string">'/'</span>)<span class="ruby-operator">+</span><span class="ruby-value">1</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">implementation_node</span>(<span class="ruby-identifier">node</span>).<span class="ruby-identifier">attribute</span>(<span class="ruby-string">&quot;src&quot;</span>).<span class="ruby-identifier">value</span>
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-constant">BPMN</span>
    <span class="ruby-keyword">return</span> <span class="ruby-constant">Bpmn</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">src</span>)
  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-constant">BPEL</span>
    <span class="ruby-keyword">return</span> <span class="ruby-constant">Bpel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">src</span>)
  <span class="ruby-keyword">else</span>
    <span class="ruby-keyword">return</span> <span class="ruby-constant">Xml</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">src</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- implementation_doc-source -->
          
        </div>

        

        
      </div><!-- implementation_doc-method -->

    
      <div id="method-i-implementation_node" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">implementation_node</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="implementation_node-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 60</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">implementation_node</span>(<span class="ruby-identifier">node</span>)
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">at_xpath</span>(<span class="ruby-node">&quot;#{node.path}//*[starts-with(local-name(),'implementation')]&quot;</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- implementation_node-source -->
          
        </div>

        

        
      </div><!-- implementation_node-method -->

    
      <div id="method-i-implementation_type" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">implementation_type</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="implementation_type-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 56</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">implementation_type</span>(<span class="ruby-identifier">node</span>)
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">implementation_node</span>(<span class="ruby-identifier">node</span>).<span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'.'</span>)[<span class="ruby-value">1</span>]
<span class="ruby-keyword">end</span></pre>
          </div><!-- implementation_type-source -->
          
        </div>

        

        
      </div><!-- implementation_type-method -->

    
      <div id="method-i-info" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">info</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="info-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 108</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">info</span>
  <span class="ruby-keyword">super</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-string">&quot;pom&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">pom</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- info-source -->
          
        </div>

        

        
      </div><!-- info-method -->

    
      <div id="method-i-locations" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">locations</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="locations-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 79</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">locations</span>
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">isDoc?</span>
    <span class="ruby-keyword">return</span> <span class="ruby-ivar">@locations</span> = <span class="ruby-identifier">references</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-string">'//xmlns:binding.ws/@location'</span>,<span class="ruby-identifier">doc</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">namespaces</span>)
  <span class="ruby-keyword">end</span>
  <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- locations-source -->
          
        </div>

        

        
      </div><!-- locations-method -->

    
      <div id="method-i-push" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">push</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="push-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 112</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">push</span>
  <span class="ruby-identifier">pom</span>.<span class="ruby-identifier">push</span>
  <span class="ruby-keyword">super</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- push-source -->
          
        </div>

        

        
      </div><!-- push-method -->

    
      <div id="method-i-reference_location" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">reference_location</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="reference_location-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 71</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">reference_location</span>(<span class="ruby-identifier">node</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">isDoc?</span>
    <span class="ruby-identifier">location</span> = <span class="ruby-identifier">binding_node</span>(<span class="ruby-identifier">node</span>).<span class="ruby-identifier">attribute</span>(<span class="ruby-string">&quot;location&quot;</span>)
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">location</span>.<span class="ruby-identifier">value</span> <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">location</span>.<span class="ruby-identifier">nil?</span>
  <span class="ruby-keyword">end</span>
  <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- reference_location-source -->
          
        </div>

        

        
      </div><!-- reference_location-method -->

    
      <div id="method-i-svn" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">svn</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="svn-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 103</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">svn</span>
  <span class="ruby-ivar">@svn</span>=<span class="ruby-constant">Svn</span>.<span class="ruby-identifier">new</span> <span class="ruby-ivar">@path</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@svn</span><span class="ruby-operator">==</span><span class="ruby-keyword">nil</span>
  <span class="ruby-ivar">@svn</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- svn-source -->
          
        </div>

        

        
      </div><!-- svn-method -->

    
      <div id="method-i-versionUp" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">versionUp</span><span
            class="method-args">(vers = nil)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="versionUp-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 86</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">versionUp</span>(<span class="ruby-identifier">vers</span> = <span class="ruby-keyword">nil</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">vers</span>.<span class="ruby-identifier">to_s</span><span class="ruby-operator">==</span><span class="ruby-string">&quot;&quot;</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">version</span>.<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">eql?</span> <span class="ruby-identifier">vers</span>.<span class="ruby-identifier">to_s</span>
    <span class="ruby-identifier">version</span>.<span class="ruby-identifier">revision</span>=<span class="ruby-identifier">version</span>.<span class="ruby-identifier">revision</span>.<span class="ruby-identifier">to_i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-identifier">version</span>.<span class="ruby-identifier">version</span>=<span class="ruby-identifier">vers</span>
  <span class="ruby-keyword">end</span>
  <span class="ruby-identifier">versionNode</span>.<span class="ruby-identifier">content</span>=<span class="ruby-identifier">version</span>.<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>
  <span class="ruby-identifier">pom</span>.<span class="ruby-identifier">version</span>=<span class="ruby-identifier">version</span>.<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>
  <span class="ruby-identifier">push</span>
  <span class="ruby-identifier">info</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- versionUp-source -->
          
        </div>

        

        
      </div><!-- versionUp-method -->

    
      <div id="method-i-wsdlLocation_abstract" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">wsdlLocation_abstract</span><span
            class="method-args">(node)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="wsdlLocation_abstract-source">
            <pre><span class="ruby-comment"># File app/soa/CompositeSOA.rb, line 64</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">wsdlLocation_abstract</span>(<span class="ruby-identifier">node</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">isDoc?</span>
    <span class="ruby-keyword">return</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">attribute</span>(<span class="ruby-string">&quot;wsdlLocation&quot;</span>).<span class="ruby-identifier">value</span>
  <span class="ruby-keyword">end</span>
  <span class="ruby-keyword">nil</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- wsdlLocation_abstract-source -->
          
        </div>

        

        
      </div><!-- wsdlLocation_abstract-method -->

    
    </section><!-- public-instance-method-details -->
  
  </section><!-- 5Buntitled-5D -->

</div><!-- documentation -->


<footer id="validator-badges">
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>

